package com.ruoyi.topadmin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 用户表 top_user
 * 
 * @author victor zhao
 * @date 2018-12-25
 */
public class TopUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户ID */
	private Integer id;
	/** 手机号码 */
	private String mobilePhone;
	/** 姓名 */
	private String name;
	/** 用户类型 */
	private String userType;
	/** 注册时间 */
	private Date regTime;
	/** 最后登录时间 */
	private Date lastLoginTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setMobilePhone(String mobilePhone) 
	{
		this.mobilePhone = mobilePhone;
	}

	public String getMobilePhone() 
	{
		return mobilePhone;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setUserType(String userType) 
	{
		this.userType = userType;
	}

	public String getUserType() 
	{
		return userType;
	}
	public void setRegTime(Date regTime) 
	{
		this.regTime = regTime;
	}

	public Date getRegTime() 
	{
		return regTime;
	}
	public void setLastLoginTime(Date lastLoginTime) 
	{
		this.lastLoginTime = lastLoginTime;
	}

	public Date getLastLoginTime() 
	{
		return lastLoginTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mobilePhone", getMobilePhone())
            .append("name", getName())
            .append("userType", getUserType())
            .append("regTime", getRegTime())
            .append("lastLoginTime", getLastLoginTime())
            .toString();
    }
}
